package com.ghck.message.model;

import java.io.Serializable;
import java.util.Map;
import java.util.Set;

/**
 * 自定义消息，透传消息
 * @author kk
 *
 */
public class JPushMessage implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *  android : 01 : 1
	 *	ios : 10 : 2
	 *	ios_android : 11 : 3
	 *	平台
	 */
	private Integer platform;
	
	/**
	 * 别名
	 */
	private String alias;
	
	/**
	 * 消息标题
	 */
	private String title;

	/**
	 * 消息内容本身
	 */
	private String msgContent;
	
	/**
	 * 消息内容类型
	 */
	private Integer contentType;
	
	
	
	/**
	 * 扩展字段	这里自定义 JSON 格式的 Key/Value 信息，以供业务使用
	 */
	private Map<String,Object> extras;

	private Integer sendno;
	
	private Integer[] appIds;
	
	private Set<String> aliases;

	public Set<String> getAliases() {
		return aliases;
	}


	public void setAliases(Set<String> aliases) {
		this.aliases = aliases;
	}


	public Integer[] getAppIds() {
		return appIds;
	}



	public void setAppIds(Integer[] appIds) {
		this.appIds = appIds;
	}



	public Integer getPlatform() {
		return platform;
	}



	public void setPlatform(Integer platform) {
		this.platform = platform;
	}



	public String getTitle() {
		return title;
	}



	public void setTitle(String title) {
		this.title = title;
	}



	public String getMsgContent() {
		return msgContent;
	}



	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}



	public Integer getContentType() {
		return contentType;
	}


	public void setContentType(Integer contentType) {
		this.contentType = contentType;
	}


	public Map<String, Object> getExtras() {
		return extras;
	}



	public void setExtras(Map<String, Object> extras) {
		this.extras = extras;
	}



	public String getAlias() {
		return alias;
	}



	public void setAlias(String alias) {
		this.alias = alias;
	}



	public Integer getSendno() {
		return sendno;
	}



	public void setSendno(Integer sendno) {
		this.sendno = sendno;
	}

	
}
